package sample.app.theme.pink;

import android.view.View;
import android.widget.TextView;

import com.qiplat.open.ui.util.DensityUtils;
import com.rapid.api.framework.common.theme.style.PageViewSetter;

public class PinkPageViewSetter implements PageViewSetter {
    @Override
    public void setTopBar(View view) {
        view.setTranslationZ(DensityUtils.dipToPx(view.getContext(), 12));
        view.setBackgroundColor(PinkTheme.colorPrimary);
    }

    @Override
    public void setTopBarTitle(TextView view) {
        view.setTextColor(PinkTheme.white);
    }

    @Override
    public void setBottomBar(View view) {
        view.setTranslationZ(DensityUtils.dipToPx(view.getContext(), 12));
        view.setBackgroundColor(PinkTheme.colorPrimary);
    }

    @Override
    public void setBackText(TextView view) {
        view.setTextColor(PinkTheme.white);
    }

    @Override
    public void setContentView(View view) {
        //view.setBackgroundColor(BlueTheme.colorPrimary);
    }
}
